using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class OPManage : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        
    }
    /// <summary>
    /// 生成敌人
    /// </summary>
    public void EnemyInstantiate()
    {
        ResLoad.Instance().LoadAsync<GameObject>("Prefabs/Enemy", (o)=> 
        {
            GameObject go = o;
            go.transform.position= GameObject.FindGameObjectWithTag("Player").transform.position;
        });
    }
}
